package com.pdstudio.carrecom.api;

/*
 * 封装所有的http请求方法*/
public class ServiceHelper {

	public static String msg_code_sucess = "success";
	public static String msg_code_fail = "fail";
	public static String ret_code_sucess = "0";
	public static String ret_code_fail = "-1";

	/*
	 * 服务器地址
	 */
	public static String ServerBase = "http://123.57.255.76:8080/benz4s/";

	/*
	 * 新版本
	 */
	public static String NewVersion = ServerBase + "version/update";

	/*
	 * 初始页面图片地址
	 */
	public static String InitPage = ServerBase + "initpage/android/30-60";

	/*
	 * 引导页面图片地址*
	 */
	public static String GuidePage = ServerBase + "attachs/list";

	/*
	 * 用户协议
	 */
	public static String UserProtocal = ServerBase + "protocol/android";

	/*
	 * 意见列表
	 */
	public static String SugesstionList = ServerBase
			+ "android/suggestion/list";

	/*
	 * 登录
	 */
	public static String Login = ServerBase + "login/android";

	/*
	 * 获取注册码
	 */
	public static String RegisterCode = ServerBase + "message/android/register";

	/*
	 * 注册
	 */
	public static String Register = ServerBase + "register/android";

	/*
	 * 忘记密码获取验证码
	 */
	public static String ForgetCode = ServerBase + "message/android/forget";

	/*
	 * 天气
	 */
	public static String Weather = ServerBase + "index/city/android";

	/*
	 * 关于
	 */
	public static String About = ServerBase + "about/android";

	/**
	 * 修改密码提交
	 */
	public static String ModifierPassSubmit = ServerBase + "user/android";

	/*
	 * 获取车辆种类
	 */
	public static String CarList = ServerBase + "carlist/android";

	/*
	 * 意见反馈提交
	 */
	public static String SuggestionPost = ServerBase
			+ "consultant/feedback/android";

	/*
	 * 呼叫我的专属客服
	 */
	public static String CallMyEx = ServerBase + "consultant/list/android";

	/*
	 * 忘记密码提交接口
	 */
	public static String ForgetPassPost = ServerBase + "user/forget/android";

	/*
	 * 手机重验证第一步
	 */
	public static String AgValidePhone1 = ServerBase + "message/android/again1";

	/*
	 * 手机重验证第二步
	 */
	public static String AgValidePhone2 = ServerBase + "message/android/again2";

	/*
	 * 手机重验证提交
	 */
	public static String AgValidePhonePost = ServerBase + "phone/android";

	/** 我要买车精品列表 */
	public static String BuyNewCarBoutique = ServerBase + "buycar/boutique";

	public static String BuyNewCarBoutiqueDetail = ServerBase
			+ "buycar/boutiquedetail";

	/** 我是车主——消息中心 */
	public static String OwnerMessageCenter = ServerBase
			+ "news/newslist/android";

	/** 我是车主——消息详情 */
	public static String OwnerMessageDetail = ServerBase + "news/detail";

	/** 我是车主——我要租车 */
	public static String OwnerWyzc = ServerBase + "rental/list";

	/** 我的订单列表 */
	public static String myOrders = ServerBase + "";

	/* 违章查询地址 */
	public static String BreakRule = ServerBase + "api/weizhang.jsp";

	/*
	 * 获取附近的人
	 */
	public static String GetBehindPersons = "";

	/*
	 * 给附近的人发消息
	 */
	public static String PostInfoToBehindPerson = "";

	/*
	 * 上传图片
	 */
	public static String UploadImg = ServerBase + "api/uploadheadimg.jsp";

	/*
	 * 获取头像
	 */
	public static String GetAvatar = ServerBase + "user/img/android";

	/*
	 * 最新活动接口
	 */
	public static String NewActivity = ServerBase + "club/event";

	/*
	 * 最新活动报名
	 */
	public static String NewActivitySigUp = ServerBase + "club/savet";

	/*
	 * 我的收藏接口，分享接口，type 1 分享，0 收藏
	 */
	public static String MyCollection = ServerBase + "club/collect";

	/** 24小时救援电话 */
	public static String OwnerRescuePhone = ServerBase + "help/tel";

	/** 车主宝典 */
	public static String OwnerCzbd = ServerBase + "book/list";

	/** 选择品牌 */
	public static String XZPP = ServerBase + "buycar/brand/android";

	/** 选择系列 */
	public static String XZXL = ServerBase + "buycar/series";

	/** 选择款型 */
	public static String XZKX = ServerBase + "buycar/model";

	/** 选择4s店 **/
	public static String XZ4S = ServerBase + "reservation/android";

	/** 预约保存接口 **/
	public static String AppointSave = ServerBase + "reservation/save";

	/** 抽奖 **/
	public static String ChouJiang = ServerBase + "api/lottery.jsp";

	/** 新车购买——提交预约 */
	public static String TJYY = ServerBase + "buycar/usermessage";

	/** 二手车评估 预约 */
	public static String ESC = ServerBase + "buycar/swap";

	/** 我要租车——提交预约 */
	public static String WYZCTJYY = ServerBase + "rental/save";

	public static String BXXBXZLX = ServerBase + "usermessage/list";

	public static String ESCZH = ServerBase + "buycar/swap";

	/* 星座运势 */
	public static String XZYS = ServerBase + "api/xingzuo.jsp";

	/* 生效 */
	public static String SX = ServerBase + "api/shengxiao.jsp";

	/* 新闻八卦 */
	public static String XWBG = "http://m.toutiao.com/news_hot/";

	/* 算命测字 */
	public static String SMCZ = "http://m.buyiju.com/bazi/";
	
	public static String ShowCar=ServerBase+"buycar/modelpic/android";

}
